package com.common.dongqiuhui.apps.comm.tools;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * 监听网络变化变换Ip值
 * Created by sam on 15/8/4.
 */
public  class NetChangeReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(final Context context, Intent intent) {
        try {
            if ("android.net.conn.CONNECTIVITY_CHANGE".equals(intent.getAction())) {

            }
        }catch (Exception e){
            e.printStackTrace();
        }
    }

}
